const zSend = (data,code)=>{
    if(code === undefined){
        return {
            code:200,
            data:data,
            msg:'请求成功'
        }
    }else{
        return {
            code:code,
            data:data,
            msg:'请求失败'
        }
    }
}


module.exports = zSend;